let baseUrl = "";
let assetBaseUrl = "";
if (process.env.NODE_ENV === "development") {

  /***********接口服务地址***********/
  //baseUrl = "http://172.16.120.8:5000/api";//本地
  // baseUrl = "http://172.16.132.56:5000/api";//本地
   // baseUrl = "https://ezdevice-new.ezpro.com/api";//生产
  // baseUrl = "http://192.168.80.129:30400/api";//测试
  baseUrl = "https://ezdevice-dev.ezpro.com/api";//开发
 // baseUrl = "http://172.16.132.123:5000/api";// Henry
 //baseUrl = "https://ezdevice.ezpro.com/api";// 生产

  /***********图片资源地址***********/
  assetBaseUrl = baseUrl;
  // assetBaseUrl = "https://ezdevice-new.ezpro.com/api";

} else if (process.env.NODE_ENV === "production") {
  baseUrl = window.location.protocol + "//" + window.location.host+'/api';
  assetBaseUrl = baseUrl;
}

export {baseUrl, assetBaseUrl};
